namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_LMS_SAMPLE")]
    public partial class V_LMS_SAMPLE
    {

        [Key]
        [Column(Order = 0)]
        [StringLength(40)]
        public string SAMPLE_ID { get; set; }

        [StringLength(40)]
        public string MAKE_CODE { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(40)]
        public string BATCH_CODE { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(40)]
        public string TEST_CODE { get; set; }

        public int MAKE_TYPE { get; set; }

        public long? PRINT_COUNT { get; set; }

        [StringLength(50)]
        public string MATERIEL_NAME { get; set; }
        
        [StringLength(50)]
        public string MATERIEL_TYPE_NAME { get; set; }
        
        [StringLength(50)]
        public string SUPPLIER_NAME { get; set; }
        
        [StringLength(50)]
        public string TRANSPORT_NAME { get; set; }
        
        [StringLength(200)]
        public string SEND_USER_NAME { get; set; }
        
        [StringLength(200)]
        public string COLLECT_USER_NAME { get; set; }

        public DateTime? COLLECT_TIME { get; set; }
        
        public DateTime? MATCH_TIME { get; set; }

        public byte? APPROVAL_STATUS { get; set; }
    }
}
